public class DragonYears {
    public static void main(String[] args) {
        int startYear = 1949;
        int endYear = 2049;

        int dragonCycleStart = 1952; 

        System.out.println("从 " + startYear + " 到 " + endYear + " 中的龙年有：");

        for (int year = startYear; year <= endYear; year++) {
            if ((year - dragonCycleStart) % 12 == 0) {
                System.out.println(year);
            }
        }
    }
}
